package com.blm.service;

import com.blm.vo.FoodVO;
import com.blm.vo.PageVO;
import com.blm.vo.StoreVO;

public interface FavoriteService {
    /**
     * 查询用户收藏的店铺列表
     */
    PageVO<StoreVO> listFavoriteStores(Long userId, int page, int size);
    
    /**
     * 添加店铺收藏
     */
    Integer addStoreFavorite(Long userId, Long storeId);
    
    /**
     * 移除店铺收藏
     */
    Integer removeStoreFavorite(Long userId, Long storeId);
    
    /**
     * 查询用户收藏的商品列表
     */
    PageVO<FoodVO> listFavoriteFoods(Long userId, int page, int size);
    
    /**
     * 添加商品收藏
     */
    Integer addFoodFavorite(Long userId, Long foodId);
    
    /**
     * 移除商品收藏
     *
     * @return
     */
    Integer removeFoodFavorite(Long userId, Long foodId);

    Integer queryFavorite(Long userId, Long targetId, String targetType);
}